Created attachment 569 [details] P1 Will attach a suggested patch.
Hi Bret, can you please write up the use case in this BZ ticket? (I've also checked the commit message on the attachment in comment#0, and it doesn't help.) Thanks!
Sure. At it's heart, this is a command defined in the TCG spec, supported on all TPM 2.0 modules, and of use to platforms. More specifically, it is required for certain DRTM implementations to facilitate servicing by the FW.
Ah, I see. So it looks like a feature addition -- implement a new command (NvUndefineSpaceSpecial, per spec) that Tpm2CommandLib currently lacks. I'll go ahead and change the BZ classification now. Also, since you are proposing a patch at once, I'll take the liberty of assigning this ticket to you. Hope that's OK. Thanks!
That works perfectly. Thanks!
Created attachment 979 [details] 0001-SecurityPkg-Library-Add-Tpm2NvUndefineSpaceSpecial-to-Tpm2CommandLib.patch